// DlgDHINFO.cpp : implementation file
//

#include "stdafx.h"
#include "a1.h"
#include "DlgDHINFO.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDlgDHINFO dialog


CDlgDHINFO::CDlgDHINFO(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgDHINFO::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgDHINFO)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	m_tabDh=new CTabDH(11);
}


void CDlgDHINFO::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgDHINFO)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDlgDHINFO, CDialog)
	//{{AFX_MSG_MAP(CDlgDHINFO)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlgDHINFO message handlers

void CDlgDHINFO::OnOK() 
{
	// TODO: Add extra validation here
	
	CDialog::OnOK();
}

BOOL CDlgDHINFO::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	CRect rect;
	this->GetClientRect(rect);

	//this->m_tabDh->Create(WS_CHILD|WS_VISIBLE|WS_TABSTOP,rect,this,ID_TABCTRL_YAOPIN);

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

BOOL CDlgDHINFO::DestroyWindow() 
{
	delete this->m_tabDh;
	this->m_tabDh=NULL;
	return CDialog::DestroyWindow();
}
